﻿using System;
using System.Collections.ObjectModel;
using PairingMatrix.Common.Event;
using PairingMatrix.ViewModel;

namespace PairingMatrix.Design
{
    public class DateStripViewModel : IDateStripViewModel
    {
        public DateStripViewModel()
        {
            Dates = new ObservableCollection<DateDisplayViewModel>();
            for (int i = -15; i < 15; i++)
            {
                Dates.Add(new DateDisplayViewModel(DateTime.Now.AddDays(i)));
            }
        }

        public ObservableCollection<DateDisplayViewModel> Dates { get; set;}
        public event DateStripEventHandler DateSelected;

        public void RaiseDateSelectedEvent(int days)
        {
            
        }

        public bool Show
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }
    }
}